<?php if(!defined('FRAME')) exit('No direct script access allowed');
/**
 * 数据层
 * @author wisoch@hotmail.com
 *
 */
class Data {
	/**
	 * 连接数据库
	 * example: dbname.master dbname.slave dbname
	 * @param string $alias
	 */
	public function connect($alias) {
		return Db::Instance()->connect($alias);
	}
	public function hashDb($key) {
		
	}
}